.layout {
    width: 750px;
    height: 251px;
    margin: 50px auto;
    border: 1px solid #ccc;
    border-top: 0;
}

.layout li {
    width: 250px;
    height: 250px;
    line-height: 250px;
    float: left;
    text-align: center;
    background-color: #f4f4f4;
    color: #b13947;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-left: -1px;
    font-size: 148px;
}

@font-face {
    font-family: "imooc";
    src: url("../fonts/imooc.eot");/* IE9兼容 */
    src: url("../fonts/imooc.eot?#iefix") format("embedded-opentype"),
    url("../fonts/imooc.woff") format("woff"),
    url("../fonts/imooc.ttf") format("truetype"),
    url("../fonts/imooc.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

.icon {
    font-family: "imooc";
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-spinner:before {
    content: "\e600";
}

.icon-heart:after {
    content: "\e602";
}

.icon-heart:before {
    content: "\e601";
}

.icon-like:before {
    content: "\e603";
}

.shadow {
    color: #fff;
    text-shadow: 5px 5px 0px #b13947, 10px 10px 0px rgba(0, 0, 0, 0.15);
}

.spinner {
    -webkit-animation: spinner 2s infinite linear;
    animation: spinner 2s infinite linear;
}

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.love {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

.love:before, .love:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.love:after {
    z-index: 0;
    color: #cecece;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.love:before {
    z-index: 1;
    color: #ea515e;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

.love.btn-activated:before {
    -webkit-animation: scaleFade 0.5s forwards;
    -moz-animation: scaleFade 0.5s forwards;
    animation: scaleFade 0.5s forwards;
}

@-webkit-keyframes scaleFade {
    50% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(2.5);
    }
}

@-moz-keyframes scaleFade {
    50% {
        opacity: 1;
        -moz-transform: scale(1);
    }
    100% {
        opacity: 0;
        -moz-transform: scale(2.5);
    }
}

@keyframes scaleFade {
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}